easy way to solve probabilty question